package com.mew.chess.core.game.bjl.game.message;

import com.zebra.common.ByteBufUtils;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**
 * @author Administrator
 */
@Data
@ToString
public class HistoryMessage{
        private int winType;//普通赢类型
        private int bankerTwo;//庄对
        private int idleTwo;//闲对

    public void write(ByteBuf b) {
        ByteBufUtils.writeInt(b,winType);
        ByteBufUtils.writeInt(b,bankerTwo);
        ByteBufUtils.writeInt(b,idleTwo);
    }
}
